package com.leyou.service;

import com.leyou.common.vo.PageResultVO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.security.acl.LastOwnerException;
import java.util.List;

/**
 * @author xiuer
 * @date 2019/6/24 16:14
 */
public interface IBrandService {
    PageResultVO<BrandDTO> brandQueryPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);


    void addBrand(BrandDTO brandDTO, List<Long> cids);

    void updateBrandAndCategory(BrandDTO brandDTO, List<Long> cids);

    void deleteBrandByBid(Long bid);

    BrandDTO queryBrandByBid(Long bid);

    List<BrandDTO> queryBrandBycid(Long cid);

    List<BrandDTO> queryBrandByBids( List<Long> bids);
}
